package com.youhome.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

@Data
@ApiModel
@JsonSerialize(include= JsonSerialize.Inclusion.NON_NULL)
public class HousePropertySubType {
    @ApiModelProperty(notes = "房源类型ID")
    private Integer id;

    @ApiModelProperty(notes = "类型名称（英）")
    private String name;

    @ApiModelProperty(notes = "类型名称（中）")
    private String explain;

    @ApiModelProperty(notes = "图标")
    @JsonIgnore
    private String icon;

    @ApiModelProperty(notes = "备注")
    @JsonIgnore
    private String remark;
}